package com.mars.module.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.mars.common.request.PageRequest;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 奖项请求对象 award
 *
 * @author mars
 * @date 2024-04-27
 */
@Data
@ApiModel(value = "奖项对象")
@EqualsAndHashCode(callSuper = true)
public class AwardRequest extends PageRequest{



    /**
     * id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 活动id
     */
    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    /**
     * 奖项名称
     */
    @ApiModelProperty(value = "奖项名称")
    private String name;

    /**
     * 奖项人数
     */
    @ApiModelProperty(value = "奖项人数")
    private Integer count;

    /**
     * 奖品
     */
    @ApiModelProperty(value = "奖品")
    private String award;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    private String fileUrl;
}
